<html>
<body>
Reports <code>if</code>, <code>when</code>, and <code>try</code> statements that can be converted to expressions
by lifting the <code>return</code> statement or an assignment out.
<p><b>Example:</b></p>
<pre><code>
  fun foo(arg: Int): String {
      when (arg) {
          0 -> return "Zero"
          1 -> return "One"
          else -> return "Multiple"
      }
  }
</code></pre>
After the quick-fix is applied:
<pre><code>
  fun foo(arg: Int): String {
      return when (arg) {
          0 -> "Zero"
          1 -> "One"
          else -> "Multiple"
      }
  }
</code></pre>
<p>If you would like this inspection to highlight more complex code with multi-statement branches, uncheck the option "Report only if each branch is a single statement".</p>
</body>
</html>